package com.atguigu.petstore.common.execption;

import com.atguigu.petstore.common.result.ResultCodeEnum;

/**
 * @author lfy
 * @Description
 * @create 2023-09-27 14:13
 */
public class AppPetStoreException extends PetstoreException{

    public AppPetStoreException(String message, Integer code) {
        super(message, code);
    }

    public AppPetStoreException(ResultCodeEnum codeEnum){
        super(codeEnum.getMessage(),codeEnum.getCode());
    }
}
